<%@ page import="java.util.Date" %><%--
  Created by IntelliJ IDEA.
  User: wanqiuying
  Date: 2020/6/13
  Time: 10:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<!-- saved from url=(0021)http://www.zczyw.com/ -->
<html>

<head>
    <base href="<%=basePath%>">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="keywords" content="">
    <title>众筹中原-提供您身边的万元股权投资项目</title>
    <link rel="stylesheet" href="../css/public.css" />
    <link rel="stylesheet" href="../css/index.css" />
    <link rel="stylesheet" href="../css/common.css" />
    <link rel="stylesheet" href="../css/style.css" />
    <style>
        #createTime{
            border: none;
            font-size: 16px;
        }
    </style>
</head>

<body>
<!-- 头部 -->
<header>
    <div class="center clearfix">
        <div class="rt_head">
					<span>
						<img src="../images/head_call.png" alt=""> 官方咨询电话：
						<b>400-999-8235</b>
					</span>
            <span>
						<img src="../images/head_scan.png" />微信公众号
					</span>
            <span>
						<a href="###">
							关于我们
						</a>
					</span>
        </div>
    </div>
</header>
<!-- 导航nav -->
<nav>
    <div class="center" style="position: relative;">
        <a href="###" class="logo"></a>
        <div class="nav_tab">
            <a href="###">首页</a>
            <a href="###">展示类项目</a>
            <a href="###">交易类项目</a>
            <a href="###">已成功项目</a>
            <a href="###">众筹社区</a>
        </div>
        <a href="###" class="gradient add_zc">
            +发起众筹
        </a>
        <div class="log_txt">
            <!-- 登录前 -->
            <div class="log_txt_before" id="loginBefore">
                <a href="/pages/login">登录</a>|
                <a href="/pages/register">注册</a>
            </div>
            <!--登录后-->
            <div class="log_txt_head" id="loginAfter">
                <a href="launch/launchCenter.do" class="mes" style="margin-right: -10px;">
                    <i class="iconfont icon-xinfeng"></i>
                </a>
                <a class="head-img" id="head-img">
                    <img id="c_header" src="viewer/viewDisk.do?path="
                         onerror="javascript:this.src='images/head-mr.jpg'" />
                </a>
                <ul style="display: none;" id="list">
                    <li class="active">
                        <a href="Site/toPerson.do">
                            <i class="iconfont icon-gerenzhongxin"></i>个人设置
                        </a>
                    </li>
                    <li>
                        <a href="order/findMaybeOrder.do">
                            <i class="iconfont icon-dingdanxinxi"></i>订单管理
                        </a>
                    </li>
                    <li>
                        <a href="persion/project.do">
                            <i class="iconfont icon-xiangmuxiaoxi"></i>项目管理
                        </a>
                    </li>
                    <li>
                        <a href="money/findFortune.do">
                            <i class="iconfont icon-caifuzhongxin"></i>财富中心
                        </a>
                    </li>
                    <li>
                        <a href="launch/launchCenter.do">
                            <i class="iconfont icon-xinfeng"></i>消息中心
                        </a>
                    </li>
                    <li style="border-top:1px solid #EDEDED;text-align: center;">
                        <a href="/login/logout"> 退出 </a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</nav>

<!--  -->
<div class="nuk"></div>
<div class="up"></div>
<!-- 详情 -->
<div class="tj" style="background:#F6F6F6;">
    <div class="w" style="background:#fff;overflow: hidden;">
        <div class="smrzTop" style="margin-bottom: 40px;">
            <p style="color: #0BA192;padding: 35px 100px;"><i class="iconfont icon-fabubiaoshu"></i>发布项目</p>
        </div>
        <div class="project_status">
            <ul>
                <li class="bef">
                    <span>1</span> 填写项目信息
                </li>
                <li>
                    <span>2</span> 填写众筹信息
                </li>
                <li class="active">
                    <span>3</span> 支付展示费用
                </li>
                <li class=" bef rig">
                    <span>4</span> 项目发布成功
                </li>
            </ul>
        </div>
        <div class="tst_box add3">
            <span class="list_head">项目名称：</span> ${title}
        </div>
        <div class="tst_box add3">
            <span class="list_head">收费单价：</span> 50/天
        </div>
        <div class="tst_box add3">
            <span class="list_head">众筹天数：</span> ${zcDays}天
        </div>
        <div class="tst_box add3">
            <span class="list_head">创建时间：</span>
            <input id="createTime" name="createTime" value="">
        </div>
        <div class="tst_box add3 slect_pay">
            <span class="list_head">付款方式：</span>
            <a class="active">
                <img src="../images/payimg2.png" />
            </a>
            <a>
                <img src="../images/payimg1.png" />
            </a>
        </div>
        <div class="tst_box add3 pay">
            <span class="list_head">应付金额：</span>
            <i>￥${zcDays*50}</i>
        </div>

        <div class="buttonBox" style="width: 450px;padding-bottom: 50px;margin-left:190px ;margin-top: 25px;">
            <a id="toPay" class="gradient">确认支付</a><br />
            <div class="ltem" style="display: inline-block;">
                <label>
                    <input type="checkbox" name="ram" id="doAgree" checked="checked"><i class="iconfont icon-weixuanze"></i>
                    我已阅读了解并自愿承担相应风险
                </label>
            </div>
        </div>
        <div class="yellowTip">
            风险告知：<br />
            1、众筹中原众筹平台是一个开放的众筹平台，公众基于对众筹项目、发起人和回报的认同，通过资助的方式参与和支持创新。<br />
            2、要知道，此项目须在2018-12-31日之前达到￥1000.00之目标才算成功哦，否则已经支持的订单将取消。订单取消后，您的支持金额将全额退回到您<br />
            的个人账户中，最终到账时间依照第三方支付平台处理时间决定，请耐心等待。<br />
            3、其他请参见 《支持者须知》及众筹中原众筹平台发布的平台规则。<br />
        </div>
    </div>
</div>
<div class="nuk"></div>
<!-- footer -->
<footer>
    <div class="w clearfix">
        <div class="lg_footer clearfix">
            <div class="sm_footer">
                <div class="gplz">
                    <div class="gplz_lj">
                        <ul class="" style="">
                            <li>
                                <a href="http://www.zczyw.com/help/index/id/1">关于我们</a>
                            </li>
                            <li> |</li>
                            <li>
                                <a href="http://www.zczyw.com/help/index/id/2">联系我们</a>
                            </li>
                            <li> |</li>
                            <li>
                                <a href="http://www.zczyw.com/help/index/id/7">众筹课堂</a>
                            </li>
                            <li> |</li>
                            <li>
                                <a href="http://www.zczyw.com/help/index/id/3">注册协议</a>
                            </li>
                            <li> |</li>
                            <li>
                                <a href="http://www.zczyw.com/help/index/id/4">发起人协议</a>
                            </li>
                            <li> |</li>
                            <li>
                                <a href="http://www.zczyw.com/help/index/id/5">发起人须知</a>
                            </li>
                            <li> |</li>
                            <li>
                                <a href="http://www.zczyw.com/help/index/id/6">支持者须知</a>
                            </li>
                        </ul>
                        <p class="place_footer">--众筹中原-- by:神农山一队精英 </p>

                    </div>
                </div>
                <div class="trusted-icon">
                    <a href="http://www.51miit.com/auth/CE5B140C67E74642BB83A59AE27312EE/" target="_blank">
                        <img src="../images/icp.png" alt="">
                    </a>
                    <a href="http://www.zczyw.com/Public/statics/img/shangbiaozheng.jpg" target="_blank">
                        <img src="../images/shangbiaozheng.png" alt="">
                    </a>
                    <a href="http://www.zczyw.com/Public/statics/img/zhuzuoquan.jpg" target="_blank">
                        <img src="../images/zhuzuoquan.png" alt="">
                    </a>
                    <a href="http://gsxt.haaic.gov.cn/company/detail.jspx?id=4F8FFD5FE3C8896FE053070A080AC15D&amp;jyzk=jyzc" target="_blank">
                        <img src="../images/gongshang.png" alt="河南工商">
                    </a>
                    <a href="http://webscan.360.cn/index/checkwebsite/url/www.zczyw.com" target="_blank">
                        <!--<img border="0" src="http://webscan.360.cn/status/pai/hash/61b2506c91c6f99c2d853ff592ab0a1f"/>-->
                        <img border="0" src="../images/360.png">
                    </a>
                    <a href="https://www.creditchina.gov.cn/xinyongxinxixiangqing/default.html?isEncryStr=1&amp;encryStr=fWJ3bjludDZpMjE%3D%0A&amp;name=%E6%B2%B3%E5%8D%97%E5%8D%8E%E6%99%9F%E7%BD%91%E7%BB%9C%E7%A7%91%E6%8A%80%E8%82%A1%E4%BB%BD%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8&amp;isEncryStr=1" target="_blank">
                        <img src="../images/china.png" alt="信用中国">
                    </a>
                </div>
            </div>
        </div>
    </div>
</footer>
<!-- 侧边栏 -->
<div class="side">

</div>
<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="js/jquery.SuperSlide.2.1.1.js"></script>
<!-- 控制登录菜单 -->
<script type="text/javascript">
    var loginUser=${loginObject.userId};
    if (loginUser!=null){
        console.log(loginUser);
        $("#loginBefore").css("display","none");
        $("#loginAfter").css("display","block");
    }else {
        console.log(loginUser);
        $("#loginAfter").css("display","none");
    }

    $('#head-img').hover(function() {
        $('#list').show();
    });
    $('.log_txt_head').mouseleave(function() {
        $("#list").css("display", "none");
    });
    $('#head-img').on('click', function() {
        window.location.href = "Site/toPerson.do";
    });
</script>
<script type="text/javascript">
    // 切换
    $(function() {
        $(".slect_pay a").click(function() {
            $(this).addClass('active').siblings().removeClass('active')
        })
    })
</script>
<script src="../js/layui/layui.all.js"></script>
<script>
    var time=new Date();
    var year = time.getFullYear();
    var month = time.getMonth() + 1;
    var date = time.getDate();
    var hours = time.getHours();
    var minutes = time.getMinutes();
    var seconds = time.getSeconds();

    //获取现在的创建时间
    time=year+"-"+month+"-"+date+"  "+hours+":"+minutes+":"+seconds;
    //设置请求路径
    var url='/item/publishItem3?createTime='+time;

    $(document).ready(function () {
        $("#createTime").val(time);
    })
    // 确认支付,查看是否勾选了选项
    $("#toPay").click(function () {
        var isAgree=$("#doAgree").prop("checked");
        console.log(isAgree);
        //如果勾选了增加超链接href属性，如果未勾选不能跳转并且提示用户
        if(isAgree){
            $("#toPay").attr('href',url)
        }else {
           layer.msg('请您确认已阅读相关风险，并勾选此选项!');
        }
    })
</script>
</body>

</html>
